add getUser and getGranted