implemented debug mode and normal mode

implemented debug mode, only in debug mode can the user reset the
website data from U icon popup menu.