added validates to app/models/user.rb
added length constraint to user name