Amadou Onana credited manager Unai Emery for his debut Aston Villa goal as his side beat West Ham 2-1.