Added toast to display error messages