navbar component accepts currentUser