db credentials extracted and put into environment variables