added cards api and updated tokens api