connects to db now