errorcodes 4 registration n all other modules, use of equal method  in editProfile()

errorcodes for  registration and all other modules, use of equal method in editProfile()