version authorization to controllers and views.