Page now loads tasks dynamically from MongoDB instead of a static array