fixed connect

put in the info  to the database