user class with methods, class stubs, db class methods