Fixed Issue with multiple error messages.
Moving on to creating a counter for number of attempts made.