Redirect to dashboard page if user is not logged-in