added devise registrations control to control redirect after login to new dog path