adds redirect at route level