add edit page and permission