Implement error messages
Added success messages