added spec file user_spec.rb