Bug Fix and Cleanup

- Cleanup: Removed the log messages that were for diagnostics
- Bug Fix: wrong method of getting data from the response for generating the hash