Added the get reports functionality