Added category type to newStudent form and function.