this file is controller file for reports