Saved registration data in the database.