updated clientcommand.cpp and .h