fixed error with users unable to be added to db