connect to db using ENV var