more work on user rspec and user resource api