Making a connection to DB and spitting out values