added navigation to register and login view