applying strict dependency injection in index.gsp