add sidebar and enhance mainpage