Dundee United manager Jackie McNamara was a happy man after seeing his side seal a 1-0 win over Motherwell at Fir Park.