new viewmodel for dashboard. Redirects back to index if user is not logged in.
Merge pull request #3 from skemb321/master

new viewmodel "dashboard.js"