Fix bug: user location after login