more routes and db methods