Create UseTemplate Action and Reducer to update state with template from BE.