validation on client side, tutor and textbook done