Added reporting functionality on the front end