fixed issue with devise and user registrations