updating to use endless scroll and dotenv