coding for the User create method