added code for saving user
web service code added