can now add course with ajax