add publish/unpublish form, factorization of the not logged