Create user in database after registration.