added html and templates