fixing HomeController to use values in Constants.php