Changed the success and error alert