Fix duplicated redirect_with_params method in controllers
Reduce complexity of ServicesController.sanity_checks method