added fields to template for initialState and url