Ping and logging now works