Correcting the lower cased model name in UserDetail.php to upper cased