not-so-restful routes on a Sinatra/ Postgres app.