added devise and included MimeResponds and StrongParameters in the application_controller.rb