ValidateUser Code Added