fix bug and adding user html template (home page)