add template list 
get template list from DB