Removed unused code
Added success messages for ping checks