added validations for subjects, rates, notes and groups