Added an error check to the User #create method.