refactored html template
bug fix account list on index page sometime including null account