add classes to user table
fix user resource fetching