Alert and usermessage validations