added login logout and register buttons to nav bar