Update HomeController.php

Function invitation.