Add success and error show methods with duration parameter