made changes to some features in reports tab for server-side programming