Global stability for a four dimensional epidemic model