added dashboard controller and the index action and view