change self to user after change to class method