removed controller logic from app.js