render proper page