Updated connection to database to use "with" such that it automatically closes the connections
Updated connection to database to use "with" such that it automatically closes the connections

foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP