Implementation of web service : login and update user