Validation for posting (presence) and alert msg