public static function existUser($username) { $user = DAL::getUserWithoutPwd($username); return isset($user); }