GetHash rename, AllowedActions

Renamed GetHash to GetUser to match return value.
Ability to get AllowedActions and store to Session struct