Fixed routes and .env file