if ( is_user_logged_in() && current_user_can( 'edit_posts' ) ) { endpoint security definition download endpoint security client