subadmins should be able to change passwords for the members of his group. So subadmins should be handled the same way we handle admins. But if you add "subadmins" to the if in line61 than we basically have the same code as before