Added back-end data into templates