redirects the user back to the same page after sign in/sign up