Fix some Postgres SQL problems
Fix the POST endpoint for adding stamp to location