Updated db connection to correctly store data.
Updated the database to use connection pooling. Note that the app fetches data from the db but doesn't use it yet.