using main page to test on server