Sign out also now redirects to the last page before sign in