Added templates to controllers