destroy action working for registrations