added DB connection
changed catalog to use DB connection
changed login to use DB connection