added edit page view & minor changes