Manchester United beat Barcelona 2-1 in the second leg of their Europa League playoff tie at Old Trafford on Thursday.