I recently added a new screen to the app and this screen needs to only be accessed by specific kind of users who are logged in.

```
class DemoScreen extends Component {
  static navigationOptions = {
    title: 'Title',
    drawerLabel: ({ tintColor, focused }) => {
      return (
        <MainMenuItem
          textKey={TEXTKEY}
          iconName="cellphone-settings"
          focused={focused}
          tintColor={tintColor}
        />
      );
    }
  };
// Skipping rest of the code
}

```

This component is connected to the redux store, so it has access to the users information. But `this.props.<FIELD>` cannot be accessed inside the `navigationOptions`.

My routes look like this

```
const MainMenu = DrawerNavigator(
  {
    // Other screens here
    Demo: { screen: DemoScreen },
  },
  {
    drawerWidth: 250,
    drawerPosition: 'left',
    contentComponent: MenuDrawerContent,
    contentOptions: drawerContentOptions
  }
);

export const Routes = {
  // Other routes here
  Main: {
    screen: MainMenu,
    navigationOptions: {
      gesturesEnabled: false
    }
  }
};

```

What I want is to display DemoScreen MainManuItem only to a specific type of logged in user. How do I accomplish that? Where should that logic reside?

Thanks.