modify change userId to user class using parameterized types
version 0.2.0