public function logEvent($userId = false, $title = false, $args = false) {
        if (!$user_id) {
            throw new Exception("Cannot log event, no User ID given"); 
            return false;
        }