proper http error handling
template caching
add getTitle method and titleValidator