add course form works without validation, delete does not work