adding mainpage