add validation on create courses and some styles