Global existence of solutions for Gierer-Meinhardt system with three equations