litte recatoring; set signedin status at app startup