Fixed issue that did not allow logging out of all accounts
Fixed a database bug if login timed out (fixes #26)
Some minor UI shinies.