add card api and rspec work