Go back to previous page after logout