added some cms functionality and styling