fixed bug, on first start-up LoginManager.getAccountValid returns true
as default even though preferences have not been created, causing null
pointer exception and crash of app