auto switch the tabs for different kind of users