minor changes
Changed the html logic to clean up the code
removed and moved some logging to clean up the logging