typo
login and update user