setting up mysql with code igniter to add and delete courses