updated UserDb base class: new methods for recommendations