added registry_user in cms_class.php