Updated reports file
Added codes to pass data to view