Fixed function login. User != name.