added user_spec.rb tests
added user_spec.rb tests