It looks like you have your model code duplicated in both `app/models/user.rb` file and here.