Added invoke method for resource handlers
Refactoring avatar
Merge pull request #193 from taiwen/user

Added invoke method for resource handlers