check if user is logged in before publishing collections at server side, not client