diff --git a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java
index 4dd868e5913e9850a2095ed0d77c48dd57929d47..71e36836ec78ac0c369da2522698072b937f0b51 100644
--- a/src/main/java/com/safetypin/authentication/service/AuthenticationService.java
+++ b/src/main/java/com/safetypin/authentication/service/AuthenticationService.java
@@ -135,7 +135,7 @@ public class AuthenticationService {
     }
 
     // Example method representing posting content that requires a verified account
-    public String postContent(String email, String content) {
+    public String postContent(String email, String content) { // NOSONAR
         User user = userRepository.findByEmail(email);
         if (user == null) {
             return "User not found. Please register.";
@@ -143,9 +143,9 @@ public class AuthenticationService {
         if (!user.isVerified()) {
             return "Your account is not verified. Please complete OTP verification. You may request a new OTP after 2 minutes.";
         }
-        logger.info("AuthenticationService.postContent :: Content posted by user with email: {}", email);
+        logger.info("Content posted successfully by user");
         // For demo purposes, we assume the post is successful.
-        return String.format("Content '%s' posted successfully.", content);
+        return "Content posted successfully";
     }
 
     private int calculateAge(LocalDate birthdate) {
diff --git a/src/test/java/com/safetypin/authentication/service/AuthenticationServiceTest.java b/src/test/java/com/safetypin/authentication/service/AuthenticationServiceTest.java
index 1dbe0c18b7990901d9750957903dc6ae500182be..97b3d107e86541481058024dc228798d75c85308 100644
--- a/src/test/java/com/safetypin/authentication/service/AuthenticationServiceTest.java
+++ b/src/test/java/com/safetypin/authentication/service/AuthenticationServiceTest.java
@@ -430,7 +430,7 @@ class AuthenticationServiceTest {
         user.setSocialId(null);
 
         when(userRepository.findByEmail("test@example.com")).thenReturn(user);
-        String response = authenticationService.postContent("test@example.com", "ThisIsAContent");
-        assertEquals("Content 'ThisIsAContent' posted successfully.", response);
+        String response = authenticationService.postContent("test@example.com", "Content");
+        assertEquals("Content posted successfully", response);
     }
 }