override resolvers
refactor using template with twirl