using deferreds in foursquare service