change column name is_student => type in User table , and change column name in user.rb