updated MrequestController.php