Implete page editing & fix bug in delete page