1. Create a new navigation menu under Appearance > Menus > Create a new menu with a similar custom links:

 

  • Login
  • Registration

 

2. Install plugin that allow to control nav menu links visibility, under Plugins > Add new plugin, such as: IF menu, User menus or others

 

3. Configure the the visibility rules

 

4. Assign this new nav-menu in the Groovy preset settings