add migration script for user, add class def for user.rb