added setpw, unsetpw for securing keys