Added learner input submission to the API