user class and table in db