NGIN-18: Fixed the case for multiple messages. Still need to change the alert box to the error div on the error message display.