Updated obsolete User type to new IUser implementation