After login, check that they are part of the right team, and present a modal window with info if not. The app requires people to be part of the AMP-AD Consortium Team to be able to save data in the appropriate place for the curation team to access. Right now if users are not logged in, they see a message telling them they must log in and be part of the team. But if they are logged in, but are not part of the team, they won't see this message but the app also won't work properly.
After login, check that they are part of the right team, and present a modal window with info if not. The app requires people to be part of the AMP-AD Consortium Team to be able to save data in the appropriate place for the curation team to access. Right now if users are not logged in, they see a message telling them they must log in and be part of the team. But if they are logged in, but are not part of the team, they won't see this message but the app also won't work properly.