add all funtion about cms