new viewmodel for dashboard. Redirects back to index if user is not logged in.