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