generating the forntpage