Interface: handle ajax errors
Interface: add Teacher, and override console.log so output is displayed in gui