saving password after encrypting