Added route for posting report

Wrote functions for saving the report to db.