Fixed live page when entering the wrong id and cleaned up commenting and logging