added metrics
Fix the redirect