Understanding what the user wants using intents