Added validation to the tutor application