main page status, controller and template