Add REST API for Learner