added code render sample reports
added code to test buttons and queries