Added DB connection and JSON retrieval logic