Conditionally redirect Users to dashboard.