added ckeditor and fixed page numbering