add to class, user and session