anchor.diff:  
     <div class='user-profile-header'>
       <form:hidden id="avatar" path="avatar" value="${editedUser.avatar}"/>
  +    <form:hidden id="editedUserId" path="userId" value="${editedUser.userId}"/>
  +    <form:hidden id="editedUsername" path="username" value="${editedUser.username}"/>
       <span class="pull-left thumbnail">
         <span id="avatarPreviewContainer" class="wraptocenter">
           <%--String prefix "data:image/jpeg;base64," needed for correct image rendering--%>
  
positive.code: 
       <%--Notifications--%>
      <c:when test="${editedUser.userNotificationsDto != null}">
          <form:hidden path="userId" value="${editedUser.userId}"/>
          <form:hidden id="editedUserId" path="userNotificationsDto.userId"
                       value="${editedUser.userNotificationsDto.userId}"/>
          <form:hidden id="editedUsername" path="username" value="${editedUser.username}"/>
  
          <div class="clearfix"></div>
          <hr class='user-profile-hr'/>
  
negative.code:     </c:when>
  
      <c:when test="${editedUser.userSecurityDto != null}">
        <form:hidden path="userSecurityDto.userId" value="${editedUser.userSecurityDto.userId}"/>
  
        <div class="clearfix"></div>
        <hr class='user-profile-hr'/>
  