added a login prompt before triggering the door