Added casts to the getter/setters of the AbstractUserEntity