Simplify Symphony's isLoggedIn and initialiseDatabase functions