MLDS-733 - moving redirection out of controller and into a service to be called