Updated contest controller for Heroku