Russian president visits southern military headquarters