refactor login/logout user account links dropdown