extract(shortcode_atts(array('text'=>sprintf(__('You are currently logged in as %s. ','profile-builder'),$current_user->user_login),'redirect'=>'','redirect_url'=>wppb_curpageurl(),'redirect_priority'=>'normal','link_text'=>__('Log out »','profile-builder')),$atts));
$logout_link='<a href="'.wp_logout_url($redirect_url).'" class="wppb-logout-url" title="'.__('Log out of this account','profile-builder').'">'.$link_text.'</a>';