Changed parameter name
Merge branch 'user' of https://github.com/pi-engine/pi into user
Refactored APIs for user role