added function to security.php to return default object for security