Server Code for Classroom Interaction Application