The first time you log on, the app will ask for your passport number. Uber is not legal for locals, only for foreign visitors so they need some way to prove you are not from Barcelona. I spent 38 Euros in a taxi to get to my downtown hotel when I arrived, but only 24 Euros in Uber for my return trip.