correct $u->isLoggedIn and add headset_check on users table