Redirect user to dashboard for certain routes