create controller.rb

Inside the mainCtrl - user login authentication