I have been searching in a lot of places for answer to this.
What I want is when I go on a page, it redirects the page to the password page, but when I try to get it back, it just redirects back onto the previous page. Maybe use javascript to say "only redirect when there is a part in that code? Any ideas?