added controller for web.js