using env variables for db connection