Make api?task=reports able to submit reports too #988

* Also make sure the user id is saved with report too #987