automatic success and failure messages
implemented auto success/fail messages