In 2004, Yoon et al. proposed a user authentication scheme based on generalized ElGamal signature scheme using smart cards. In their scheme, the previous session keys will be compromised if the secret key of the system is leaked. In this paper, we propose a new scheme which can offer forward secrecy. Our scheme is also secure against forgery attack while keeping the merits of the scheme proposed by Yoon et al.