added password protected debugging and enabled html5mode