added restrictions to cms and added button for cms link