Implemented create user and update user