Implemented async alert().
Using async alert after error when opening door.
Implemented async confirm().
Added confirms to delete user and card.