Add login class in app.rb and run in config.ru