Added secure module to protect pages