rendering model data to the template