fixed func verifyEditResource on Server and made supporting classes public