Replacement of JRequest in controllers in backend