You should not use `User.` declaration.
Please use
```ruby
class << self

end
```
Because this notation is not affected with change of class name.