Added referrer functionality to login and process_login pages, if user tries to access a secure page while logged out, and clicks the body link to Log In.