Update login settings to use dotenv