- added restMethods
- activated oauth