implemented registrations/edit template