attempting to add user to the database during registration