validation working for student.rb