editPageById separate action replaced by simply editPage, which has routes defined