Form validation for adding students implemented