Empty messages before logging in and before issuing queries