preparing the server page