added server method with checks on page creation