refactor AccountService.
Auto-set debug mode
renamed home_view as base_view.