Added User class to REST API.