added constants CMS_MAINTENANCE, CMS_USER_GROUP_IDS, CMS_USER_GROUP_NAMES, CMS_USER_IS_ADMIN
changed handling for robots