test if user connected and freeze accordingly