made registrations repository application singleton