Added rerouting to user's previous location on sign in