Code for adding server communication for course selection