Menu's in the backend now completed, courses can be added

Fixed a bug in the model that destroyed the sql