Moved security of controllers into the actions.
Updated dependancy injection.