Cognizant interview question

How do you switch as entry user in react