add some test in user_spec.rb