class forum, modif cookie and main