added the validations for the select subject and added the feature to show only the unfilled subjects