You can add a custom link menu item to the menu that is located in that position, or you can use custom HTML in a text widget to create the links that way.
There is no way to move the built in login/logout/register links; they can only be enabled/disabled/renamed.
ok
so How can I make it work likewise?
Should put a javascript code custom HTML?
If I want that when I click on "login" it change by "logout"