added navigation to login and register views