combined mainpage.html and userprofile.html.