Algorithm for Personalized Login Experience: Varying Content on Each Login to Enhance User Engagement and Interest

algorithm like facebook making each login diffrent instead of looking at the same posts all the time