added dashboard controller and index page