bug fix of login, add user/edit