should fix issue 4 at least, should be tested though
fixes issue #5
storing the password *somehow* is always a bad idea.