styling flash messages
adding validations for calendar