add success/error handling messages for client side