Added validations and message colors