implemented handlerbar templates