fixing the formatting
deletebyid implemented
fix some minor issues