edit page Edit, and do some security