Update User.login, now user can easily login/logout/linkidentity