change the main page according to the requirements