updated server to remove console echo