Update function help interact with User
Update user info page , login, register