1. Changed UserState class from interface to a class of constants and sanitized the values
2. Removed unused code from DefaultUserManager