Added authentication to CMS