Debugging Changes

Removing console.log in api-server, adding some in client.