public function banIP($ipAddress = null, $reason = null, $expiry = "0", $adminUserId = null) {
        
        if (is_null($ipAddress)) {
            throw new InvalidArgumentException("No IP address supplied"); 
        }