Added removal of the success messages after 5 seconds