updated ui a bit so it alerts on success or failure