I have been asking myself this question for a while now and finally i found the answer which came in the form of an app called PASSWORDBOX.
Password box lets you store you password in the cloud which means it will be available to you across all your devices for iPhone and Android and then your computer.
But that is not my focus here because there are a bunch of other password managers that do the same thing but the killer feature which i am happy about and which will give me control over what happens to my online accounts when i die is what they call the LEGACY LOCKER
The legacy locker is just like the will we all know that a person writes before they die to state how they want their properties shared, handled...etc but this is the online version am calling it an "e-will" it allows you assign people who can take over your on-line accounts or assets after you have passed on (for people who just do facebook and twitter this might not mean much) and those people will only have access when they provide a death certificate which will be verified by PASSWORD BOX and access will be granted only after verification and not before.
For me this just solves a major issue and it prevents your accounts from falling into the internet limbo after you have left this cold, cold world.
By the way PASSWORDBOX was voted best mobile app at the CES (Consumer Electronic Show) 2014 held in Las Vegas
If you want to try it out (which i think you should) go HERE
H.W.G Services 2014©