Added ability to specify authentication block for controller actions