dotenv authentication fixed