starts dashboard, redirects if not logged in