First approach
Changed. Remove model, directly connect to postgresql
Add test for accessToken and hashed password
Add LoginController test. Move shared test helper into testHelper.js
Add postgresl sql
Add forgotten node module dependencies
Move test helper function into TestHelper
Delete log message
Use UserService to create access token instead
Add tokenAuth policy.
Test if access token is expired
Add ReportController and test
Clear all data before ReportsController test. Add sails-postgresql to package.json.
Fix reports table, add userId.
Add [GET] reports API.
Add API : [GET] /users/:id/reports
Add location data.
Fix typo
Make return Report object contain userAddress and locationByAddress
Add new columns for reports