support for authorization adapter
add a custom action type
remove debug line
Fix the instance of template object in closure
Merge pull request #15 from tiroc/master

support for authorization adapter