added nav bar to login and register page