private function loadContent()
 {
     if (file_exists(Configuration::getModulesPath() . $this->module . DS . $this->action . ".php")) {
         return Configuration::getModulesPath() . $this->module . DS . $this->action . ".php";
     } else {
         return Configuration::getModulesPath() . "error" . DS . "pageNotFound.php";
     }
 }
<?php

require_once Configuration::getModulesPath() . 'default' . DS . 'models' . DS . 'dao' . DS . 'Default.dao.php';
/**
 * The business object model for the default module
 * @author Ryan Bartolay
 */
class DefaultBom
{
    /**
     * Validates the login, returns true if validation is satisfied
     * @param unknown_type $Request
     */
    public function validateLogin($Request)
    {
        $Response = new stdClass();
        $Response->success = false;
        $Response->message = Messages::errorLogin();
        $dDao = new DefaultDao();
        $User = $dDao->retrieveUserByEmail($Request->email);
        if ($User != null) {
            if ($User->password === md5($Request->password)) {
                if ($User->group_id == 2) {
                    $this->checkUserProfileDetailAndSummary($User->user_id);
                }
                $Response->success = true;
                $Response->data = $User;
            }
        }
        return $Response;
    }