Fix bug new location when user is not logged in.