Got both the saving and retreiving of weight information working again. Still using the default connection but it is now defined in server.js rather than the routes.