When attempting to access a page when not logged in it remembers what you were trying to do and redirects you back after authentication.