fixed user.rb, defined role inside class User