GUI to support the functions

Add GUI support for currently supported functions. Not for
getCourseRole because it does not work. Add addUserToCourse GUI and
server side methods.