EDIT: This is obviously not a good idea if you want to be able to update – see comments below
As this site explains, you need to replace <?php printf(__(‘Howdy, %2$s!’), ‘profile.php’, $user_identity) ?>
in the wordpress admin with in your case the word ‘logout.’ Then make the url be echo wp_logout_url();