Liverpool manager Jurgen Klopp said his side had to work hard to earn the right to beat a resilient Sheffield Utd side 2-1 at Anfield.