setting current contest in model/controller