add the function of display index page, login, logout, display person info