Fixed bugs in the setClaims and getClaims method of user. Added several methods for UM.