added rest apis for users and groups