-Adding redirects in routes to avoid code duplication