edited UserHelper to add user to the database