Change redirects to /main to /dashboard