fix User's class methods