Added authentication

Only users with the correct permission ('cms.manage_pages') are able to edit content.