implement optinal_login stuff for navbar