Nice, i did it too xP
I recommend use some type of encryption or something like that because if somebody save the password in a place public, other person could get his password.
In Set before to save you encrypt
And Get after of get you desencrypt and then put in the input of the password