Api functions added, courses page: first select actually works now :)