Added classes and methods required for User.