implemented jail/admin-password modes