fix return value to just be the reply, remove console.log statements