Added comment for why logging is added here
Added logger.stop()
Added code comments and moved the URL so it would be explicit