added database repository for registrations