Now adding two error response messages: ALREADYREGISTERED and INVALIDCOMMAND