Add user class and unit test.