Minor change to password storing