Determining what a user or device is allowed to access or do after authentication