Updated connect_db to print connection title in caps