tweaked login behavior - will let you know login was successful, navigate backwards if access directly, or location.referrer is clicked to