fixed error with creating new user