Fixed comments check for logged in user