added scheduler to user.rb