added arm and disarm password functionality