add main page and restList page