Removed unused code from app.rb