fct isLogged