connecting to db for signup