Modified the custom pages plugin to make all the endpoints secured. Plugin Checked in separately. Located at https://github.com/skulasekar/nodebb-plugin-custom-pages.git