added dashboard controller and view pages (only logged in users can see dashboard page)