fixing form submit method in the student form