[Commit 9] Modify MessagesController, implement ProblemsController, allow views to use @current_user after have called authorisation_required, fix association in Contest model