changing to connect to db on localhost