Added code for SQL Conneciton