updated views for courses. added validations