add redirect to the controllers