added ajax-based course addition; added course edit page.