added a sublogin for users and finished update user(all attributes will update)