Updates to alers and form validation