add a redirect to dashboard for logged in users