need env var in main authentication file