Added error logging on restful errors
Added access control rule for restricting admins from editing ordinary pages