oauth and dotenv implemented