i have created a react app which has role based authentication , i check from the auth claims for user role , so when my main App renders , a condition is used to check the