add validation on add and edit form, create green style of messages