adding in server side connection to db