ConfigUtils::doesUserHasAccess($data->moduleName, $userId, $data->accessType);
        break;
    case "getCompanyList":
        Config::getCompanyList($userId);
        break;
    case "getAllProcessUser":
        ConfigUtils::getAllProcessUser($userId);
        break;
    case "getAccessApprovals":
        if (appUtil::isSuperUser($userId)) {
            ConfigUtils::getAccessApprovals();
        } else {
            echo appUtil::getReturnStatus("Unsuccessful", "You Do not have authority to view");
        }
    case "getAccessRequestList":
        ConfigUtils::getAllAccessRequestForUser($userId);
        break;
    case "CancelTempAccessRequest":
        ConfigUtils::CancelTempAccessRequest($data->requestId);
        break;
}
/*	$opt = array(
		   PDO::ATTR_ERRMODE            => PDO::ERRMODE_EXCEPTION,
		   PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC
		);

		try{

				$stmt = $conn->prepare("select * from userlogin where username=:username and password=:password");

			     $stmt->bindParam(':username', $params->username, PDO::PARAM_STR);