move register button to navigation bar