Index: backend/controllers/taskController.js
===================================================================
--- backend/controllers/taskController.js	(revision a70b6c40d5fbeaeaf4f790429c3adecb8edb4818)
+++ backend/controllers/taskController.js	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
@@ -71,34 +71,29 @@
 const getTaskByDate = async (req, res) => {
   try {
-    const now = new Date();
-
-    const year = now.getUTCFullYear();
-    const month = now.getUTCMonth();
-    const day = now.getUTCDate();
-
-    let effectiveDay = day;
-    if (now.getUTCHours() < 7) {
-      effectiveDay = day - 1;
-    }
-
-    const startOfEffectiveDay = new Date(
-      Date.UTC(year, month, effectiveDay, 0, 0, 0, 0)
-    );
-
-    const startOfNextDay = new Date(startOfEffectiveDay);
-    startOfNextDay.setUTCDate(startOfEffectiveDay.getUTCDate() + 1);
-
-    // console.log(
-    //   "Querying between (UTC dates):",
-    //   startOfEffectiveDay.toISOString(),
-    //   "and",
-    //   startOfNextDay.toISOString()
+    // const now = new Date();
+
+    // const year = now.getUTCFullYear();
+    // const month = now.getUTCMonth();
+    // const day = now.getUTCDate();
+
+    // let effectiveDay = day;
+    // if (now.getUTCHours() < 7) {
+    //   effectiveDay = day - 1;
+    // }
+
+    // const startOfEffectiveDay = new Date(
+    //   Date.UTC(year, month, effectiveDay, 0, 0, 0, 0)
     // );
 
+    // const startOfNextDay = new Date(startOfEffectiveDay);
+    // startOfNextDay.setUTCDate(startOfEffectiveDay.getUTCDate() + 1);
+
+    const startOfDay = new Date("2025-07-08T00:00:00.000Z");
+    const endOfDay = new Date("2025-07-09T00:00:00.000Z");
     let tasks = await prisma.challenges.findMany({
       where: {
         solving_date: {
-          gte: startOfEffectiveDay,
-          lt: startOfNextDay,
+          gte: startOfDay,
+          lt: endOfDay,
         },
         expired: false,
Index: client/src/Dashboard/components/Forum.jsx
===================================================================
--- client/src/Dashboard/components/Forum.jsx	(revision a70b6c40d5fbeaeaf4f790429c3adecb8edb4818)
+++ client/src/Dashboard/components/Forum.jsx	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
@@ -37,5 +37,4 @@
       setIsDeleting(false);
     }
-    closeModal();
   };
 
@@ -80,4 +79,5 @@
       setPage(0);
       setHasMore(data.length >= postsPerPage);
+      showModal("Post deleted successfully.", "success");
       setLoading(false);
     } catch (error) {
@@ -212,5 +212,5 @@
       {modal.isOpen && (
         <div
-          className="fixed inset-0 z-50 flex items-center justify-center bg-opacity-50 backdrop-blur-xs"
+          className="fixed inset-0 z-50 flex items-center justify-center bg-opacity-50 backdrop-blur-sm"
           aria-labelledby="modal-title"
           role="dialog"
@@ -219,19 +219,38 @@
           <div className="bg-base-200 rounded-lg shadow-xl p-6 w-full max-w-md mx-4">
             <div className="flex items-center gap-3 mb-4">
-              <div className="w-8 h-8 rounded-full bg-error flex items-center justify-center shrink-0">
-                <svg
-                  className="w-5 h-5 text-error-content"
-                  fill="none"
-                  stroke="currentColor"
-                  viewBox="0 0 24 24"
-                >
-                  <path
-                    strokeLinecap="round"
-                    strokeLinejoin="round"
-                    strokeWidth="2"
-                    d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
-                  ></path>
-                </svg>
-              </div>
+              {modal.type === "confirm" && (
+                <div className="w-8 h-8 rounded-full bg-error flex items-center justify-center shrink-0">
+                  <svg
+                    className="w-5 h-5 text-error-content"
+                    fill="none"
+                    stroke="currentColor"
+                    viewBox="0 0 24 24"
+                  >
+                    <path
+                      strokeLinecap="round"
+                      strokeLinejoin="round"
+                      strokeWidth="2"
+                      d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+                    ></path>
+                  </svg>
+                </div>
+              )}
+              {modal.type === "success" && (
+                <div className="w-8 h-8 rounded-full bg-success flex items-center justify-center shrink-0">
+                  <svg
+                    className="w-5 h-5 text-success-content"
+                    fill="none"
+                    stroke="currentColor"
+                    viewBox="0 0 24 24"
+                  >
+                    <path
+                      strokeLinecap="round"
+                      strokeLinejoin="round"
+                      strokeWidth="2"
+                      d="M5 13l4 4L19 7"
+                    ></path>
+                  </svg>
+                </div>
+              )}
               <h3 className="font-bold text-lg" id="modal-title">
                 Delete Post
@@ -240,25 +259,33 @@
             <p className="py-4">{modal.message}</p>
             <div className="flex justify-end gap-3 mt-4">
-              <button
-                className="btn btn-ghost"
-                onClick={closeModal}
-                disabled={isDeleting}
-              >
-                Cancel
-              </button>
-              <button
-                className="btn btn-error"
-                onClick={confirmDelete}
-                disabled={isDeleting}
-              >
-                {isDeleting ? (
-                  <>
-                    <span className="loading loading-spinner loading-sm mr-2"></span>
-                    Deleting...
-                  </>
-                ) : (
-                  "Delete"
-                )}
-              </button>
+              {modal.type === "confirm" ? (
+                <>
+                  <button
+                    className="btn btn-ghost"
+                    onClick={closeModal}
+                    disabled={isDeleting}
+                  >
+                    Cancel
+                  </button>
+                  <button
+                    className="btn btn-error"
+                    onClick={confirmDelete}
+                    disabled={isDeleting}
+                  >
+                    {isDeleting ? (
+                      <>
+                        <span className="loading loading-spinner loading-sm mr-2"></span>
+                        Deleting...
+                      </>
+                    ) : (
+                      "Delete"
+                    )}
+                  </button>
+                </>
+              ) : (
+                <button className="btn btn-primary" onClick={closeModal}>
+                  OK
+                </button>
+              )}
             </div>
           </div>
Index: client/src/Dashboard/components/ForumPostDetail.jsx
===================================================================
--- client/src/Dashboard/components/ForumPostDetail.jsx	(revision a70b6c40d5fbeaeaf4f790429c3adecb8edb4818)
+++ client/src/Dashboard/components/ForumPostDetail.jsx	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
@@ -45,5 +45,4 @@
       setIsDeleting(false);
     }
-    closeModal();
   };
 
@@ -81,5 +80,5 @@
         prevComments.filter((comment) => comment.id !== commentId)
       );
-      console.log("Comment deleted successfully");
+      showModal("Comment deleted successfully.", "success");
     } catch (error) {
       console.error("Error deleting comment:", error);
@@ -231,5 +230,5 @@
       {modal.isOpen && (
         <div
-          className="fixed inset-0 z-50 flex items-center justify-center bg-opacity-50 backdrop-blur-xs"
+          className="fixed inset-0 z-50 flex items-center justify-center bg-opacity-50 backdrop-blur-sm"
           aria-labelledby="modal-title"
           role="dialog"
@@ -238,19 +237,38 @@
           <div className="bg-base-200 rounded-lg shadow-xl p-6 w-full max-w-md mx-4">
             <div className="flex items-center gap-3 mb-4">
-              <div className="w-8 h-8 rounded-full bg-error flex items-center justify-center shrink-0">
-                <svg
-                  className="w-5 h-5 text-error-content"
-                  fill="none"
-                  stroke="currentColor"
-                  viewBox="0 0 24 24"
-                >
-                  <path
-                    strokeLinecap="round"
-                    strokeLinejoin="round"
-                    strokeWidth="2"
-                    d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
-                  ></path>
-                </svg>
-              </div>
+              {modal.type === "confirm" && (
+                <div className="w-8 h-8 rounded-full bg-error flex items-center justify-center shrink-0">
+                  <svg
+                    className="w-5 h-5 text-error-content"
+                    fill="none"
+                    stroke="currentColor"
+                    viewBox="0 0 24 24"
+                  >
+                    <path
+                      strokeLinecap="round"
+                      strokeLinejoin="round"
+                      strokeWidth="2"
+                      d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+                    ></path>
+                  </svg>
+                </div>
+              )}
+              {modal.type === "success" && (
+                <div className="w-8 h-8 rounded-full bg-success flex items-center justify-center shrink-0">
+                  <svg
+                    className="w-5 h-5 text-success-content"
+                    fill="none"
+                    stroke="currentColor"
+                    viewBox="0 0 24 24"
+                  >
+                    <path
+                      strokeLinecap="round"
+                      strokeLinejoin="round"
+                      strokeWidth="2"
+                      d="M5 13l4 4L19 7"
+                    ></path>
+                  </svg>
+                </div>
+              )}
               <h3 className="font-bold text-lg" id="modal-title">
                 Delete Comment
@@ -259,25 +277,33 @@
             <p className="py-4">{modal.message}</p>
             <div className="flex justify-end gap-3 mt-4">
-              <button
-                className="btn btn-ghost"
-                onClick={closeModal}
-                disabled={isDeleting}
-              >
-                Cancel
-              </button>
-              <button
-                className="btn btn-error"
-                onClick={confirmDelete}
-                disabled={isDeleting}
-              >
-                {isDeleting ? (
-                  <>
-                    <span className="loading loading-spinner loading-sm mr-2"></span>
-                    Deleting...
-                  </>
-                ) : (
-                  "Delete"
-                )}
-              </button>
+              {modal.type === "confirm" ? (
+                <>
+                  <button
+                    className="btn btn-ghost"
+                    onClick={closeModal}
+                    disabled={isDeleting}
+                  >
+                    Cancel
+                  </button>
+                  <button
+                    className="btn btn-error"
+                    onClick={confirmDelete}
+                    disabled={isDeleting}
+                  >
+                    {isDeleting ? (
+                      <>
+                        <span className="loading loading-spinner loading-sm mr-2"></span>
+                        Deleting...
+                      </>
+                    ) : (
+                      "Delete"
+                    )}
+                  </button>
+                </>
+              ) : (
+                <button className="btn btn-primary" onClick={closeModal}>
+                  OK
+                </button>
+              )}
             </div>
           </div>
Index: client/src/Dashboard/components/ManageChallenges.jsx
===================================================================
--- client/src/Dashboard/components/ManageChallenges.jsx	(revision a70b6c40d5fbeaeaf4f790429c3adecb8edb4818)
+++ client/src/Dashboard/components/ManageChallenges.jsx	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
@@ -120,7 +120,7 @@
         challenges.filter((challenge) => challenge.id !== challengeId)
       );
-      console.log(`Challenge ${challengeId} deleted successfully.`);
+      showModal("Challenge deleted successfully.", "success");
     } catch (err) {
-      console.error(`Failed to delete challenge ${challengeId}:`, err);
+      showModal(`Failed to delete challenge: ${err.message}`, "error");
     } finally {
       setLoading(false);
@@ -142,5 +142,4 @@
       setLoading(false);
     }
-    closeModal();
   };
 
@@ -309,5 +308,5 @@
                         onClick={() =>
                           showModal(
-                            "Are you sure you want to delete this challenge? This action cannot be undone.",
+                            `Are you sure you want to delete challenge with title "${challenge.title}" ? This action cannot be undone.`,
                             "confirm",
                             challenge.id
@@ -392,5 +391,5 @@
       {modal.isOpen && (
         <div
-          className="fixed inset-0 z-50 flex items-center justify-center  bg-opacity-50 backdrop-blur-xs"
+          className="fixed inset-0 z-50 flex items-center justify-center bg-opacity-50 backdrop-blur-sm"
           aria-labelledby="modal-title"
           role="dialog"
@@ -399,19 +398,38 @@
           <div className="bg-base-200 rounded-lg shadow-xl p-6 w-full max-w-md mx-4">
             <div className="flex items-center gap-3 mb-4">
-              <div className="w-8 h-8 rounded-full bg-error flex items-center justify-center shrink-0">
-                <svg
-                  className="w-5 h-5 text-error-content"
-                  fill="none"
-                  stroke="currentColor"
-                  viewBox="0 0 24 24"
-                >
-                  <path
-                    strokeLinecap="round"
-                    strokeLinejoin="round"
-                    strokeWidth="2"
-                    d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
-                  ></path>
-                </svg>
-              </div>
+              {modal.type === "confirm" && (
+                <div className="w-8 h-8 rounded-full bg-error flex items-center justify-center shrink-0">
+                  <svg
+                    className="w-5 h-5 text-error-content"
+                    fill="none"
+                    stroke="currentColor"
+                    viewBox="0 0 24 24"
+                  >
+                    <path
+                      strokeLinecap="round"
+                      strokeLinejoin="round"
+                      strokeWidth="2"
+                      d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+                    ></path>
+                  </svg>
+                </div>
+              )}
+              {modal.type === "success" && (
+                <div className="w-8 h-8 rounded-full bg-success flex items-center justify-center shrink-0">
+                  <svg
+                    className="w-5 h-5 text-success-content"
+                    fill="none"
+                    stroke="currentColor"
+                    viewBox="0 0 24 24"
+                  >
+                    <path
+                      strokeLinecap="round"
+                      strokeLinejoin="round"
+                      strokeWidth="2"
+                      d="M5 13l4 4L19 7"
+                    ></path>
+                  </svg>
+                </div>
+              )}
               <h3 className="font-bold text-lg" id="modal-title">
                 Delete Challenge
@@ -420,25 +438,33 @@
             <p className="py-4">{modal.message}</p>
             <div className="flex justify-end gap-3 mt-4">
-              <button
-                className="btn btn-ghost"
-                onClick={closeModal}
-                disabled={loading}
-              >
-                Cancel
-              </button>
-              <button
-                className="btn btn-error"
-                onClick={confirmDelete}
-                disabled={loading}
-              >
-                {loading ? (
-                  <>
-                    <span className="loading loading-spinner loading-sm mr-2"></span>
-                    Deleting...
-                  </>
-                ) : (
-                  "Delete"
-                )}
-              </button>
+              {modal.type === "confirm" ? (
+                <>
+                  <button
+                    className="btn btn-ghost"
+                    onClick={closeModal}
+                    disabled={loading}
+                  >
+                    Cancel
+                  </button>
+                  <button
+                    className="btn btn-error"
+                    onClick={confirmDelete}
+                    disabled={loading}
+                  >
+                    {loading ? (
+                      <>
+                        <span className="loading loading-spinner loading-sm mr-2"></span>
+                        Deleting...
+                      </>
+                    ) : (
+                      "Delete"
+                    )}
+                  </button>
+                </>
+              ) : (
+                <button className="btn btn-primary" onClick={closeModal}>
+                  OK
+                </button>
+              )}
             </div>
           </div>
Index: client/src/Dashboard/components/ManagePosts.jsx
===================================================================
--- client/src/Dashboard/components/ManagePosts.jsx	(revision a70b6c40d5fbeaeaf4f790429c3adecb8edb4818)
+++ client/src/Dashboard/components/ManagePosts.jsx	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
@@ -50,5 +50,4 @@
     }
     setIsActionLoading(false);
-    closeModal();
   };
 
@@ -98,5 +97,5 @@
       await deleteReviewPost(postId, user.id);
       setPosts((prevPosts) => prevPosts.filter((post) => post.id !== postId));
-      console.log("Post deleted successfully from review queue");
+      showModal("Post deleted successfully.", "deleted");
     } catch (err) {
       console.error("Error deleting review post:", err);
@@ -125,5 +124,5 @@
         prevPosts.filter((p) => p.id !== postToApprove.id)
       );
-      console.log("Post approved successfully");
+      showModal("Post approved successfully.", "success");
     } catch (err) {
       console.error("Error approving post:", err);
@@ -131,11 +130,15 @@
         err.response?.data?.message || err.message || "Failed to approve post."
       );
-    }
-  };
-
-  const openConfirmationModal = (type, item) => {
+      showModal(
+        err.response?.data?.message || err.message || "Failed to approve post.",
+        "error"
+      );
+    }
+  };
+
+  const openConfirmationModal = (type, item, postTitle) => {
     if (type === "delete") {
       showModal(
-        "Are you sure you want to delete this post permanently? This action cannot be undone.",
+        `Are you sure you want to delete post with title "${postTitle}"? This action cannot be undone.`,
         "delete",
         item
@@ -143,5 +146,5 @@
     } else if (type === "approve") {
       showModal(
-        "Are you sure you want to approve this post? It will be published to the forum.",
+        `Are you sure you want to approve post with title "${postTitle}"? It will be published to the forum.`,
         "approve",
         item.id,
@@ -215,5 +218,5 @@
                       onClick={(e) => {
                         e.stopPropagation();
-                        openConfirmationModal("approve", post);
+                        openConfirmationModal("approve", post, post.title);
                       }}
                     >
@@ -225,5 +228,5 @@
                       onClick={(e) => {
                         e.stopPropagation();
-                        openConfirmationModal("delete", post.id);
+                        openConfirmationModal("delete", post.id, post.title);
                       }}
                     >
@@ -269,5 +272,5 @@
       {modal.isOpen && (
         <div
-          className="fixed inset-0 z-50 flex items-center justify-center bg-opacity-50 backdrop-blur-xs"
+          className="fixed inset-0 z-50 flex items-center justify-center bg-opacity-50 backdrop-blur-sm"
           aria-labelledby="modal-title"
           role="dialog"
@@ -276,5 +279,5 @@
           <div className="bg-base-200 rounded-lg shadow-xl p-6 w-full max-w-md mx-4">
             <div className="flex items-center gap-3 mb-4">
-              {modal.type === "approve" && (
+              {(modal.type === "approve" || modal.type === "success") && (
                 <div className="w-8 h-8 rounded-full bg-success flex items-center justify-center shrink-0">
                   <svg
@@ -293,5 +296,7 @@
                 </div>
               )}
-              {modal.type === "delete" && (
+              {(modal.type === "delete" ||
+                modal.type === "deleted" ||
+                modal.type === "error") && (
                 <div className="w-8 h-8 rounded-full bg-error flex items-center justify-center shrink-0">
                   <svg
@@ -312,34 +317,46 @@
               <h3 className="font-bold text-lg" id="modal-title">
                 {modal.type === "approve" && "Approve Post"}
-                {modal.type === "delete" && "Delete Post"}
+                {modal.type === "deleted" && "Delete Post"}
+                {(modal.type === "success" || modal.type === "error") &&
+                  "Approve Post"}
               </h3>
             </div>
             <p className="py-4">{modal.message}</p>
             <div className="flex justify-end gap-3 mt-4">
-              <button
-                className="btn btn-ghost"
-                onClick={closeModal}
-                disabled={isActionLoading}
-              >
-                Cancel
-              </button>
-              <button
-                className={`btn ${
-                  modal.type === "approve" ? "btn-success" : "btn-error"
-                }`}
-                onClick={confirmAction}
-                disabled={isActionLoading}
-              >
-                {isActionLoading ? (
-                  <>
-                    <span className="loading loading-spinner loading-sm mr-2"></span>
-                    {modal.type === "approve" ? "Approving..." : "Deleting..."}
-                  </>
-                ) : modal.type === "approve" ? (
-                  "Approve"
-                ) : (
-                  "Delete"
-                )}
-              </button>
+              {modal.type === "approve" || modal.type === "delete" ? (
+                <>
+                  <button
+                    className="btn btn-ghost"
+                    onClick={closeModal}
+                    disabled={isActionLoading}
+                  >
+                    Cancel
+                  </button>
+                  <button
+                    className={`btn ${
+                      modal.type === "approve" ? "btn-success" : "btn-error"
+                    }`}
+                    onClick={confirmAction}
+                    disabled={isActionLoading}
+                  >
+                    {isActionLoading ? (
+                      <>
+                        <span className="loading loading-spinner loading-sm mr-2"></span>
+                        {modal.type === "approve"
+                          ? "Approving..."
+                          : "Deleting..."}
+                      </>
+                    ) : modal.type === "approve" ? (
+                      "Approve"
+                    ) : (
+                      "Delete"
+                    )}
+                  </button>
+                </>
+              ) : (
+                <button className="btn btn-primary" onClick={closeModal}>
+                  OK
+                </button>
+              )}
             </div>
           </div>
Index: client/src/Dashboard/components/Navbar.jsx
===================================================================
--- client/src/Dashboard/components/Navbar.jsx	(revision a70b6c40d5fbeaeaf4f790429c3adecb8edb4818)
+++ client/src/Dashboard/components/Navbar.jsx	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
@@ -20,5 +20,6 @@
       (location.pathname === "/dashboard/forum" ||
         location.pathname === "/dashboard/forum/create-post" ||
-        location.pathname === "/dashboard/create-post")
+        location.pathname === "/dashboard/create-post" ||
+        location.pathname.startsWith("/dashboard/forum-detail/"))
     ) {
       return true;
@@ -30,4 +31,18 @@
       return true;
     }
+    if (
+      path === "/dashboard/leaderboard" &&
+      location.pathname === "/dashboard/leaderboard"
+    ) {
+      return true;
+    }
+
+    if (
+      path === "/dashboard/profile" &&
+      location.pathname === "/dashboard/profile"
+    ) {
+      return true;
+    }
+
     if (
       path === "/dashboard/manage-challenges" &&
@@ -123,5 +138,4 @@
             </button>
           </li>
-
           {user && user.isModerator && (
             <>
Index: client/src/Dashboard/components/Profile.jsx
===================================================================
--- client/src/Dashboard/components/Profile.jsx	(revision a70b6c40d5fbeaeaf4f790429c3adecb8edb4818)
+++ client/src/Dashboard/components/Profile.jsx	(revision c01bee279ddaa0c7426b40e2f266618e4fa9e88f)
@@ -42,5 +42,10 @@
                   </div>
                   <p className="text-lg mt-5">
-                    <span className="font-bold">Points:</span> {user.points}
+                    <span className="font-bold">Total Points:</span>{" "}
+                    {user.points}
+                  </p>
+                  <p className="text-lg mt-5">
+                    <span className="font-bold">Solved Challenges:</span>{" "}
+                    {user.solved_problems}
                   </p>
                 </div>
@@ -51,7 +56,4 @@
                   >
                     Sign Out
-                  </a>
-                  <a href="/register" className="btn btn-action btn-sm mx-2">
-                    Create New Account
                   </a>
                 </div>
