modified user service for creating user