redirect to dashboard if signed in rather than showing the homepage