Basic form validation added. Bug found with deleting and editing students.