Fix reference to undefined var in isLoggedIn()
Fix reference to undefined var in server listing